import { FormRules } from 'element-plus';
import { reactive } from 'vue'

//表单验证规则
const rules = {
    name: [
        { required: true, message: '请填写用户姓名', trigger: 'blur' }
    ],
	username: [
        { required: true, message: '请填写用户登录帐号', trigger: 'blur' }
    ],
	gender: [
        { required: true, message: '请选择性别', trigger: 'change' }
    ],
	idcard: [
        { required: true, message: '请填写身份证号', trigger: 'blur' }
    ],
	contact: [
        { required: true, message: '请输入联系电话', trigger: 'blur' }
    ],
}

export default rules;